package com.srv.pojo;

import java.io.Serializable;

public class GradeHoraria implements Serializable {

	private static final long serialVersionUID = -3524494560571532137L;

	private int ghcode;
	private String horario;

	public int getGhcode() {
		return ghcode;
	}

	public void setGhcode(int ghcode) {
		this.ghcode = ghcode;
	}

	public String getHorario() {
		return horario;
	}

	public void setHorario(String horario) {
		this.horario = horario;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ghcode;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GradeHoraria other = (GradeHoraria) obj;
		if (ghcode != other.ghcode)
			return false;
		return true;
	}

}
